﻿@using Smartstore.Web.Models.Catalog

@model ProductSummaryModel

<div sm-if="Model.Items.Count > 0" role="region" aria-labelledby="recently-viewed-product-title" class="product-grid recently-viewed-product-grid block block-boxed">
    <div class="block-title">
        <h3 id="recently-viewed-product-title">@T("Products.RecentlyViewedProducts")</h3>
    </div>
    <div class="block-body pt-0">
        <div class="artlist-carousel">
            @*TODO: (mc) Find a generic/smart way to make thumbnails for some mini carousel lists smaller (padding-top: 50% instead of 100% (?))*@
            <partial name="Product.List" model="Model" />
        </div>
    </div>
</div>

<zone name="after_recently_viewed_products" />